//
//  RocBluetoothManager.h
//  RocRemoteControlProject
//
//  Created by 新致李照鹏 on 2018/12/19.
//  Copyright © 2018年 Roc. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "RocBluetoothModel.h"

NS_ASSUME_NONNULL_BEGIN

typedef void(^bluetoothStatusCallBack)(BOOL isOpen,NSString *tips);
typedef void(^bluetoothScanCallBack)(NSString *deviveName);

@interface RocBluetoothManager : NSObject

/**
 蓝牙是否打开
 */
@property (nonatomic, assign) BOOL bluetooth_isOpen;
/**
 蓝牙是否在扫描
 */
@property (nonatomic, assign) BOOL is_Scaning;

/**
 设备已连接
 */
@property (nonatomic, assign) BOOL is_connecting;

/**
 * 单例初始化
 */
+ (instancetype)Manager;
/**
 * 开始监控蓝牙状态
 */
- (void)startMonitorBluetoothStatus:(bluetoothStatusCallBack)callBack;
/**
  开始扫描设备
 */
- (void)startScanDevice:(bluetoothScanCallBack)callBack;

@end

NS_ASSUME_NONNULL_END
